/*
 * @Description: 
 * @Author: jack-wang
 * @Date: 2021-03-29 13:21:12
 * @LastEditTime: 2021-03-29 14:18:41
 * @LastEditors: Su Yunzheng
 */

module.exports = {
    configureWebpack:{
        externals: {
            AMap:'AMap',
            AMapUI:'AMapUI'
        }
    },
    css: {
        loaderOptions: {
          sass: {
            prependData: `@import "@/assets/scss/index.scss";` //引入全局变量   
    
          }
    
        }
    },
    devServer:{
        proxy:{
            '^/api':{
                target:'http://82.156.49.235:7005',
                pathRewrite:{
                    '^/api':''
                }
            }
        }
    }
    
}